/*--------------------------------*- C++ -*----------------------------------*\
  | =========                 |                                                 |
  | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
  |  \\    /   O peration     | Version:  2.3.0                                 |
  |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
  |    \\/     M anipulation  |                                                 |
  \*---------------------------------------------------------------------------*/
FoamFile
{
  version     2.0;
  format      ascii;
  class       dictionary;
  location    "system";
  object      setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

fields (alpha.RDX);
nBufferLayers 1;


defaultFieldValues
(
    volScalarFieldValue alpha.gas       1
    volScalarFieldValue alpha.RDX       0
);

regions
(
    cylinderToCell
    {
        level 4;
        refineInternal yes;

        p1 (0 0.01 0);
        p2 (0 0.5 0);
        radius 0.05;

        backup
        {
            p1 (0 0 0);
            p2 (0 1 0);
            radius 0.25;
        }

        fieldValues
        (
            volScalarFieldValue alpha.RDX   1
            volScalarFieldValue alpha.gas   0
        );
    }
 );

// ************************************************************************* //
